package doan.tanduc;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.Spinner;
import android.widget.AdapterView.OnItemSelectedListener;
import doan.tanduc.R;

public class TasksScreen extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.menu);
        
        final Button bt_xn = (Button) findViewById(R.id.bt_xn);
        final Button bt_ex = (Button) findViewById(R.id.bt_ex);
        
        bt_xn.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent i = new Intent(TasksScreen.this, TasksScreen.class);
				startActivity(i);
			}
		});
        bt_ex.setOnClickListener(new OnClickListener(){

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent i = new Intent(TasksScreen.this, manhinhchinh.class);
				startActivity(i);
			}
        	
        });
    
    }   
}
